class BaseAPI():
    header = {}
    def __init__(self,token=None):
        if token != None:
            # 获取token
            self.header['Admin-Token'] = token

        # header={'Admin-Token':token}